import { createApp } from 'vue'
import App from './App.vue'
import { setupElementLocale } from './plugins/element';
import 'element-plus/dist/index.css'

import { setupPinia } from './store';
import { setupRouter } from './router';
//全局引入公共样式
import './styles/common.scss';
import { setupDirectives } from './directives';
import { setupEcharts } from './plugins/echarts';

const app = createApp(App);



setupPinia(app);
setupRouter(app);
setupElementLocale(app);
setupDirectives(app);
setupEcharts(app);
app.mount('#app')



